<?php

/**
 * UserProfileMapping form.
 *
 * @package    travide
 * @subpackage form
 * @author     Travide Project Group
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class UserProfileMappingForm extends BaseUserProfileMappingForm {

    public function configure() {

        $w = new sfWidgetFormInputHidden();
        $w->setLabel('User');
        $this->setWidget('sfGuardUserUin', $w);

        $w = new sfWidgetFormInputHidden();
        $w->setLabel('Profile');
        $this->setWidget('collectionItemUin', $w);


         $w = new sfWidgetFormInputText();
        $w->setLabel('Profile Name');
        $this->setWidget('profileTextLookup',$w);
        $this->setValidator('profileTextLookup', new sfValidatorPass());
    }

}
